﻿namespace Photo.Core.Dtos.Entity
{
    /// <summary>
    /// 主键
    /// </summary>
    public class PrimaryKey
    {
        public PrimaryKey()
        {
            Id = Guid.NewGuid().ToString("N");
        }

        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
    }
}
